Fix gdb debugging of hypervisor.
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 12 Dec 2007 11:27:15 +0000 (11:27 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 12 Dec 2007 11:27:15 +0000 (11:27 +0000)
commitbfeddb6751d4cdb7337170176c1cb55230a95b18
tree548a80cacfb6f1c9fe64fbc3a42c9d3dcff7bca3
parent73f67c0d9a0a3dff0fe27e977706492316126a1e
Fix gdb debugging of hypervisor.

This patch:
  * enables the gdbstubs to properly access hypervisor memory;
  * prevents an assertion failure in __spurious_page_fault's call
    to map_domain_page if such accesses fail, by testing in_irq();
  * prints some additional helpful messages;
  * fixes the endianness of register transfers from the gdbstubs
    so that gdb is much less confused.
  * fixes the documentation in docs/misc/crashdb.txt

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
docs/misc/crashdb.txt
xen/arch/x86/gdbstub.c
xen/arch/x86/traps.c
xen/common/gdbstub.c
xen/common/keyhandler.c
xen/include/xen/gdbstub.h